package com.example.test1.log.annotation;

import com.example.test1.log.enums.LogSeverity;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LoggerAnnotation {
    String operSource() default "";
    LogSeverity severity() default LogSeverity.WARING;
    String operName() default "";
    boolean isPersistence() default false;
}
